import { NgModule } from '@angular/core';
import { ShareModule } from './share.module';

import { ForumComponent } from '../components/forum/forum';
import { EditorComponent } from '../components/editor/editor';
import { ForumDetailComponent } from '../components/forumDetail/forumDetail';
import { ManageArticleComponent } from '../components/manageArticle/manageArticle';
import { UpdateTypeComponent } from '../components/updateType/updateType';
import { AddTypeComponent } from '../components/addType/addType';
import { FileService } from '../service/FileService';
import { ForumService } from '../service/ForumService';
import { ForumDetailService } from '../service/ForumDetailService';
import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
@NgModule({
  imports: [
    ShareModule,
    FroalaEditorModule.forRoot(),
    FroalaViewModule.forRoot()
  ],
  declarations: [
    ForumComponent,
    EditorComponent,
    ManageArticleComponent,
    ForumDetailComponent,
    UpdateTypeComponent,
    AddTypeComponent
  ],
  providers: [
    FileService,
    ForumService,
    ForumDetailService
  ],
  entryComponents: [
    EditorComponent,
    ManageArticleComponent,
    ForumDetailComponent,
    UpdateTypeComponent,
    AddTypeComponent
  ],
  exports: [

  ]
})
export class ForumModule {}
